package com.ruoyi.project.poem.poemaudiorecom.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 读诗审核对象 poem_audio_recom
 *
 * @author shixiangwen
 * @date 2022-07-04
 */
public class PoemAudioRecom extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Excel(name = "ID")
    private String articleId;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String content;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 诗词ID
     */
    @Excel(name = "诗词ID")
    private Long poemId;

    /**
     * 提交时间
     */
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 提交用户
     */
    @Excel(name = "提交用户")
    private String createdUserId;

    /**
     * 点赞数
     */
    @Excel(name = "点赞数")
    private Long praise;

    /**
     * 音频
     */
    @Excel(name = "音频")
    private String audio;

    private String createdNickname;

    private String title;

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setPoemId(Long poemId) {
        this.poemId = poemId;
    }

    public Long getPoemId() {
        return poemId;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedUserId(String createdUserId) {
        this.createdUserId = createdUserId;
    }

    public String getCreatedUserId() {
        return createdUserId;
    }

    public void setPraise(Long praise) {
        this.praise = praise;
    }

    public Long getPraise() {
        return praise;
    }

    public void setAudio(String audio) {
        this.audio = audio;
    }

    public String getAudio() {
        return audio;
    }

    public String getCreatedNickname() {
        return createdNickname;
    }

    public void setCreatedNickname(String createdNickname) {
        this.createdNickname = createdNickname;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("articleId", getArticleId()).append("content", getContent()).append("status", getStatus()).append("poemId", getPoemId()).append("createdTime", getCreatedTime()).append("createdUserId", getCreatedUserId()).append("praise", getPraise()).append("audio", getAudio()).toString();
    }
}
